'''
Created on 05/05/2010

@author: emlyn
'''
from google.appengine.ext import db
from PSTeachingPeriod import PSTeachingPeriod
from DataClass import SiteUser

class PSLessonSlot(db.Model):
    user = db.ReferenceProperty(SiteUser)
    psteachingperiod = db.ReferenceProperty(PSTeachingPeriod)
    firstlessondate = db.DateProperty()
    isrecurring = db.BooleanProperty()
    weeksbetweenlessons = db.IntegerProperty()
    dayofweek = db.IntegerProperty() # 0 to 6
    timeofday = db.TimeProperty()
    durationmins = db.FloatProperty()
